]> shimmer.witbreuk.eu Git - UltimateKEYS.git/blobdiff - autohotkey/UltimateKEYS (for AutoHotkey v2).ahk
Add files via upload
[UltimateKEYS.git] / autohotkey / UltimateKEYS (for AutoHotkey v2).ahk
index 079555fc861de578b8de7924fb1462749d03cc87..d7503191af41a713dd30b96edac7804237661064 100644 (file)
@@ -1,6 +1,6 @@
 #requires AutoHotkey v2
 
 #requires AutoHotkey v2
 
-; UltimateKEYS (for AutoHotkey v2).ahk - 2025-01-29
+; UltimateKEYS (for AutoHotkey v2).ahk - 2025-02-06
 
 ; Website :  https://pieter-degroote.github.io/UltimateKEYS/
 
 
 ; Website :  https://pieter-degroote.github.io/UltimateKEYS/
 
@@ -20,6 +20,8 @@ ListLines False   ; omits recently executed lines from history (for privacy and
 
 SendMode "Input"  ; optimizes for faster and more reliable input
 
 
 SendMode "Input"  ; optimizes for faster and more reliable input
 
+global gEndKeys := "{bs}{esc}"  ; ends dead key input on Backspace or Escape
+
 
 ; Compose Key Sequences (declaration)
 
 
 ; Compose Key Sequences (declaration)
 
@@ -1831,7 +1833,7 @@ compose["?U"] := "{u+1ef0}"  ; (Ự) U with horn and dot below
 >!sc056::      ; Right Alt + ISO Key
 <^>!sc029::    ; AltGr + Grave Accent
 <^>!sc056:: {  ; AltGr + ISO Key
 >!sc056::      ; Right Alt + ISO Key
 <^>!sc029::    ; AltGr + Grave Accent
 <^>!sc056:: {  ; AltGr + ISO Key
-  keys := InputHook("L2", "{esc}")
+  keys := InputHook("L2", gEndKeys)
   keys.Start()
   keys.Wait()
   if compose.Has(keys.Input)
   keys.Start()
   keys.Wait()
   if compose.Has(keys.Input)